package com.charlessong.unionpay.properties;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author charles
 * @Date 2021/11/18
 */
@Data
@ConfigurationProperties(prefix="pay.alipay")
@Component
public class AliPayProperties {
    private String appid;

    private String serverUrl;

    private String privateKey;

    private String aliPublicKey;

    private String notifyUrl;
}
